package com.link.dao;

import com.link.entity.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by wangyg 
 * on 2017/2/21 19:32
 */
@Repository
public interface AccountDAO {
	/**
	 * 转出账户
	 * @param out
	 * @param value
	 */
	public void outMoney(@Param("out") String out, @Param("value") Double value);

	/**
	 * 转入账户
	 * @param in
	 * @param value
	 */
	public void inMoney(@Param("in") String in, @Param("value") Double value);

	public Account select(String s);
}


